<div class="ui-amp-container">
  <h2><?php echo __('View User') ?>
    <?php echo $actions->buildViewLinks($user) ?></h2>

    <p><label for="username"><?php echo __('Username') ?>:</label> <?php echo $user->get('username') ?></p>

    <nav class="ui-amp-form-actions"><?php echo __('Actions') ?>: <?php echo $actions->buildViewActions($user) ?></nav>
</div>